|
|
@@ -84,11 +84,10 @@ def save_point_fields(request):
|
84
|
84
|
@logit
|
85
|
85
|
def bind_eqpt(request):
|
86
|
86
|
macid = request.POST.get('macid', '')
|
87
|
|
- point_id = request.POST.get('point_id', '')
|
88
|
87
|
user_id = request.POST.get('user_id', '')
|
89
|
88
|
|
90
|
89
|
try:
|
91
|
|
- ipui = IsolationPointUserInfo.objects.get(point_id=point_id, user_id=user_id, status=True)
|
|
90
|
+ ipui = IsolationPointUserInfo.objects.get(user_id=user_id, status=True)
|
92
|
91
|
except IsolationPointUserInfo.DoesNotExist:
|
93
|
92
|
return response(IsolationPointStatusCode.ISOLATIONPOINT_USER_NOT_FOUND)
|
94
|
93
|
|